package com.ncloud.uniformInterface.exception;

/**
 * Created by shiqiang on 2017/6/23.
 */
public class BaseException extends RuntimeException implements ExceptionAble{
    private String code;
    private String message;

    public BaseException(){

    }
    public BaseException(String code) {
        this.code = code;
    }

   public BaseException(String code,String message){
        super(message);
        this.code = code;
        this.message = message;

   }

    /**/
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
